package com.heima.service;

import com.heima.pojo.PageBean;
import com.heima.pojo.Partner;
import com.heima.pojo.dto.PartnerQueryParamDto;

public interface PartnerService {
    Boolean addPartner(Partner partner);

    PageBean selectPartner(PartnerQueryParamDto partnerDto);

    Partner selectPartnerById(int id);

    Boolean updatePartner(int id, Partner partner);

    Boolean deletePartner(int id);
}
